package com.myz.file;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author menyongzhi
 * @date 2025/11/4
 * @apiNote
 */
@SpringBootApplication
@EnableDubbo
public class FileConsumerApplication {

    private static final Logger logger = LoggerFactory.getLogger(FileConsumerApplication.class);

    public static void main(String[] args) {
        long start = System.currentTimeMillis();
        SpringApplication.run(FileConsumerApplication.class, args);
        long endTime = System.currentTimeMillis();
        logger.info("启动耗时：" + (endTime - start) + "ms");
    }
}
